package com.hongyun.tms.common.dto.prodplan;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 作业计划 批量审核/反审 参数
 *
 * @author liPeng
 * @date 2024-05-31
 **/
@Data
public class ProPlanApproveBatchReqDto implements Serializable {

    @ApiModelProperty(value = "主键数组")
    @NotEmpty(message = "至少选择一条记录")
    private List<Long> ids;

    @ApiModelProperty(value = "目标状态")
    @NotNull(message = "目标状态不能为空")
    private Integer status;
}

